<template lang="">
    <div>
        <el-result icon="success" title="发布成功" subTitle="问卷已发布，您可以在管理问卷中对该问卷进行操作">
            <template slot="extra">
                <el-button>生成小程序码</el-button>
                <el-button type="primary" size="medium" @click="back">返回</el-button>
            </template>
        </el-result>
    </div>
</template>
<script>
    export default {
        name: 'EmitFinish',
        data() {
            return {
                
            }
        },
        methods: {
            back(){
                this.$router.replace('/main/new')
            }
        },
        mounted() {
            this.$store.commit('reset')
        },
    }
</script>
<style lang="">

</style>